#pragma once
#include<stdio.h>
#include<stdlib.h>
typedef int KeyType;
typedef struct
{
	KeyType key;
}Search;
typedef struct treenode
{
	KeyType Key;
	struct treenode* _left, *_right;
}BSNode;
BSNode* CreatBST(KeyType arr[], int n);
BSNode* BSInsert(BSNode* bt, KeyType x);
BSNode* BSTSearch(BSNode* bt, KeyType x);